<{include file="../common/header.tpl"}>
<table width="100%" border="0" cellspacing="0">
    <tr>
        <td width="13%" valign="top">
                <{include file="../common/left.tpl"}>
        </td>
        <td width="87%" valign="top">

            <table width="100%" border="0" cellspacing="0">
                <tr>
                    <td>
                        <div class="subnav">
                                <div class="content-menu ib-a blue line-x"> 
                                        <a href="javascript:void(0);" class="on">
                                            <em>导入问卷题目内容</em>
                                        </a>
                                </div>
                        </div>
                        <div class="pad_10">
                            <div class="table-list">
                                <div class="common-form">
                                <form name="myform" action="/webadmin/question/doImport" method="post" id="myform" enctype="multipart/form-data">
                                   <p> <!--选择模版类型：
                                    <select name="type">
                                        <option value="1" <{if $type==1}>selected="selected"<{/if}>>硬件</option>
                                        <option value="2" <{if $type==2}>selected="selected"<{/if}>>软件</option>
                                    </select>-->
                                    
                                    	<span>
                                            <label for="viewfile">上传文件：</label>
                                            <input type="text" name="viewfile" id="viewfile" class="viewfile" />
                                        </span>
                                    <label for="upload" class="bottom">查找文件</label><input type="file" size="27" name="upfile" onchange="document.getElementById('viewfile').value=this.value;" class="file" />
                                   </p>   
                                    <input type="hidden" name="question_id" value="<{$question_id}>"/>
                                    <div class="bk15"></div>
                                    <input name="dosubmit" type="submit" value="确认上传" class="button">
                                </form>
                                </div>
                            </div>
                        </div>

                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<script type="text/javascript">
	$(document).ready(function(){
		$('input[name="dosubmit"]').click(function(){
			$('input[name="dosubmit"]').val('正在处理，请稍候...');
		});
	});
</script>
<{include file="../common/footer.tpl"}>